class XD_SettingsDialog {
	idd = -1;
	movingEnable = 1;
	onLoad = "uiNamespace setVariable ['X_SETTINGS_DIALOG', _this select 0];d_settings_dialog_open = true;d_do_ma_update_n = true";
	onUnLoad = "uiNamespace setVariable ['X_SETTINGS_DIALOG', nil];d_settings_dialog_open = false;d_do_ma_update_n = false";
	class controlsBackground {
		class XD_BackGroundCaption: XC_RscText {
			x = 0; y = 0;
			w = 1; h = 1 / 25;
			colorBackground[] = __GUI_BCG_RGB;
		};
		class XD_MainCaption: XC_RscText {
			x = 0.02; y = 0;
			w = 0.25; h = 0.04;
			sizeEx = 0.04;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBI;
			text = "$STR_DOM_MISSIONSTRING_1293";
		};
		class XD_BackGroundMain: XC_RscText {
			colorBackground[] = {0, 0, 0, 0.7};
			x = 0;
			y = (1 / 25) + 0.005;
			w = 1;
			h = 1 - (2 / 25) - 0.01;
		};
		/*class XD_BackGroundBottom: XC_RscText {
			x = 0; y = 1 - (1 / 25);
			w = 1; h = 1 / 25;
			colorBackground[] = __GUI_BCG_RGB;
		};*/
		class DomVer: XC_RscText {
			x = 0.02; y = 1 - 0.04;
			w = 0.25; h = 0.04;
			sizeEx = 0.04;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBI;
			text = __DOM_NVER_STR__;
		};
	};	
	class controls {
		class XD_ViewDistanceCaption: XC_RscText {
			idc = 1999;
			x = 0.02;
			y = 0.07;
			w = 0.25;
			h = 0.032;
			sizeEx = 0.032;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			shadow = 0;
			text = "$STR_DOM_MISSIONSTRING_1285";
		};
		class XD_ViewDistanceHint: XD_ViewDistanceCaption {
			idc = 1997;
			y = 0.1;
			w = 0.25;
			h = 0.022;
			sizeEx = 0.022;
			colorText[] = {1, 1, 1, 0.8};
			text = "$STR_DOM_MISSIONSTRING_1286";
		};
		class VD_Slider: XC_SliderH {
			idc = 1000;
			x = 0.025;
			y = 0.13;
			w = 0.25;
			h = 0.031;
			onSliderPosChanged = "_this call d_fnc_vdsliderchanged";
		};
		class XD_GraslayerCaption: XD_ViewDistanceCaption {
			idc = 1998;
			y = 0.2;
			text = "$STR_DOM_MISSIONSTRING_1287";
		};
		class XD_GraslayerHint: XD_ViewDistanceHint {
			idc = 1996;
			y = 0.23;
			text = "$STR_DOM_MISSIONSTRING_1288";
		};
		class GraslayerCombo: XD_UIComboBox {
			idc = 1001;
			x = 0.025;
			y = 0.26;
			w = 0.25;
			h = 0.031;
			onLBSelChanged = "[_this] call d_fnc_glselchanged";
		};
		class XD_PlayermarkerCaption: XD_ViewDistanceCaption {
			idc = 1501;
			y = 0.33;
			text = "$STR_DOM_MISSIONSTRING_1289";
		};
		class XD_PlayermarkerHint: XD_ViewDistanceHint {
			idc = 1500;
			y = 0.36;
			text = "$STR_DOM_MISSIONSTRING_1290";
		};
		class PlayermarkerCombo: GraslayerCombo {
			idc = 1002;
			y = 0.39;
			onLBSelChanged = "[_this] call d_fnc_pmselchanged"; 
		};
		class PlayernamesCaption: XD_ViewDistanceCaption {
			idc = 1601;
			y = 0.46;
			text = "$STR_DOM_MISSIONSTRING_1291";
		};
		class PlayernamesHint: XD_ViewDistanceHint {
			idc = 1600;
			y = 0.49;
			text = "$STR_DOM_MISSIONSTRING_1292";
		};
		class PlayernamesCombo: PlayermarkerCombo {
			idc = 1602;
			y = 0.52;
			onLBSelChanged = "[_this] call d_fnc_pnselchanged"; 
		};
		class XD_CloseButton: XD_ButtonBase {
			idc = 1212;
			text = "$STR_DOM_MISSIONSTRING_1218"; 
			action = "closeDialog 0";
			default = true;
			x = 0.7; y = 1 - 0.04;
		};
		class XD_PointsCaption : XC_RscText {
			y = 0.6;
			x = 0.02;
			w = 0.25;
			h = 0.025;
			sizeEx = 0.025;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "$STR_DOM_MISSIONSTRING_1294";
		};
		class XD_PointsCaption2 : XD_PointsCaption {
			y = 0.63;
			text = "$STR_DOM_MISSIONSTRING_1295";
		};
		class XD_CorporalPic : XD_RscPicture {
			x=0.03;
			__EXEC(ypospic = 0.697)
			y = __EVAL(ypospic);
			w=0.02;
			h=0.025;
			text = "pics\rank_corporal.paa";
			sizeEx = 256;
			colorText[] = {1, 1, 1, 1};
		};
		class XD_CorporalString : XC_RscText {
			x = 0.07;
			__EXEC(yposstr = 0.66)
			y = __EVAL(yposstr);
			w = 0.25;
			h = 0.1;
			sizeEx = 0.025;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "Corporal";
		};
		class XD_CorporalPoints : XC_RscText {
			idc = 2001;
			x = 0.16;
			y = __EVAL(yposstr);
			w = 0.25;
			h = 0.1;
			sizeEx = 0.025;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "";
		};
		class XD_SergeantPic : XD_CorporalPic {
			__EXEC(ypospic = ypospic + 0.03)
			y = __EVAL(ypospic);
			text = "pics\rank_sergeant.paa";
		};
		class XD_SergeantString : XD_CorporalString {
			__EXEC(yposstr = yposstr + 0.03)
			y = __EVAL(yposstr);
			text = "Sergeant";
		};
		class XD_SergeantPoints : XD_CorporalPoints {
			idc = 2002;
			y = __EVAL(yposstr);
			text = "";
		};
		class XD_LieutenantPic : XD_CorporalPic {
			__EXEC(ypospic = ypospic + 0.03)
			y = __EVAL(ypospic);
			text = "pics\rank_lieutenant.paa";
		};
		class XD_LieutenantString : XD_CorporalString {
			__EXEC(yposstr = yposstr + 0.03)
			y = __EVAL(yposstr);
			text = "Lieutenant";
		};
		class XD_LieutenantPoints : XD_CorporalPoints {
			idc = 2003;
			y = __EVAL(yposstr);
			text = "";
		};
		class XD_CaptainPic : XD_CorporalPic {
			__EXEC(ypospic = ypospic + 0.03)
			y = __EVAL(ypospic);
			text = "pics\rank_captain.paa";
		};
		class XD_CaptainString : XD_CorporalString {
			__EXEC(yposstr = yposstr + 0.03)
			y = __EVAL(yposstr);
			text = "Captain";
		};
		class XD_CaptainPoints : XD_CorporalPoints {
			idc = 2004;
			y = __EVAL(yposstr);
			text = "";
		};
		class XD_MajorPic : XD_CorporalPic {
			__EXEC(ypospic = ypospic + 0.03)
			y = __EVAL(ypospic);
			text = "pics\rank_major.paa";
		};
		class XD_MajorString : XD_CorporalString {
			__EXEC(yposstr = yposstr + 0.03)
			y = __EVAL(yposstr);
			text = "Major";
		};
		class XD_MajorPoints : XD_CorporalPoints {
			idc = 2005;
			y = __EVAL(yposstr);
			text = "";
		};
		class XD_ColonelPic : XD_CorporalPic {
			__EXEC(ypospic = ypospic + 0.03)
			y = __EVAL(ypospic);
			text = "pics\rank_colonel.paa";
		};
		class XD_ColonelString : XD_CorporalString {
			__EXEC(yposstr = yposstr + 0.03)
			y = __EVAL(yposstr);
			text = "Colonel";
		};
		class XD_ColonelPoints : XD_CorporalPoints {
			idc = 2006;
			y = __EVAL(yposstr);
			text = "";
		};
		class XD_GeneralCaption : XC_RscText {
			x = 0.35;
			y = 0.07;
			w = 0.4;
			h = 0.032;
			sizeEx = 0.032;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "$STR_DOM_MISSIONSTRING_1296";
			shadow = 0;
		};
		class XD_GeneralCaptionHint : XC_RscText {
			x = 0.35;
			y = 0.1;
			w = 0.45;
			h = 0.022;
			sizeEx = 0.022;
			colorBackground[] = {1, 1, 1, 0};
			colorText[] = {1, 1, 1, 0.8};
			text = "$STR_DOM_MISSIONSTRING_1297";
			shadow = 0;
		};
		class XD_GeneralTxt : XC_RscText {
			idc = 2007;
			style = 16;
			lineSpacing = 1;
			colorbackground[] = __GUI_TXT_RGB;
			x = 0.358;
			y = 0.14;
			w = 0.6;
			h = 0.30;
			sizeEx = 0.027;
			text = "";
		};
		class XD_MedicsCaption : XD_GeneralCaption {
			y = 0.48;
			text = "$STR_DOM_MISSIONSTRING_1298";
		};
		class XD_MedicsTxt : XD_GeneralTxt {
			idc = 2008;
			y = 0.52;
			h = 0.1;
		};
		class XD_ArtilleryCaption : XD_GeneralCaption {
			y = 0.63;
			text = "$STR_DOM_MISSIONSTRING_1299";
		};
		class XD_ArtilleryTxt : XD_MedicsTxt {
			idc = 2009;
			y = 0.67;
		};
		class XD_EngineerCaption : XD_GeneralCaption {
			y = 0.78;
			text = "$STR_DOM_MISSIONSTRING_1300";
		};
		class XD_EngineerTxt : XD_MedicsTxt {
			idc = 2010;
			y = 0.82;
		};
	};
};